<%@page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="/view/common/taglib.jsp"%>
<%@ include file="/view/common/variable.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/view/common/head.jsp"%>
<meta name="keywords" content="学而阅读,小说网,原创小说网" />
<meta name="description"
	content="学而阅读,最热门的免费小说网站,提供武侠仙侠,奇幻玄幻,科幻灵异,都市言情,穿越女频,青春校园,历史军事,网游竞技,职业官场等网络热门的书籍下载跟阅读！" />
<title>学而阅读作家后台</title>
<link rel="stylesheet" href="<%=path%>/css/style.css" />
<script type="text/javascript" src="<%=path%>/js/base.js"></script>
</head>

<body ng-app="myApp" ng-controller='ShowController'>
	<%@ include file="/view/common/header.jsp"%>
	<div class="content clearfix">
		<%@ include file="/view/common/left.jsp"%>
		<!--右边-->
		<div class="right r">
			<div class="path">
				作品管理 > <span>作品列表</span>
			</div>

			<div class="editnav">
				<ul>
					<li class="editnavo"><a
						href="<%=path%>/book/detail?bookId=${bookId}">作品设置</a></li>
					<li><a href="<%=path%>/chapter/draftList?bookId=${bookId}">草稿箱</a></li>
					<li><a href="<%=path%>/chapter/publishList?bookId=${bookId}">已发布章节</a></li>
				</ul>
				<a href="<%=path%>/chapter/add?bookId=${bookId}" class="addedit"><img
					src="<%=path%>/image/xzzj.png" /></a>
			</div>

			<!--作品设置-->
			<div class="edit">
				<div class="workset">
					<b class="worksetimg"><c:if test="${book.bookImageType==0}">
							<img src="${sourceUrl}/${book.bookImage}" />
						</c:if> <c:if test="${book.bookImageType==1}">
							<img src="${book.bookImage}" />
						</c:if></b>

					<div class="worksetr worksetr1">
						<ul>
							<li><b>作品名称：</b><span>${book.bookName}</span> <b>作品ID：</b><span>${book.bookId}</span></li>
							<li><b>作品类型：</b><span>${book.bookCategoryName}</span></li>
							<li><b>作品标签：</b><span> <c:forEach
										var="bookTag" items="${bookTagList}" varStatus="status">
										<i data-id="${bookTag.tagId}">${bookTag.tagName}</i>
									</c:forEach></span></li>
							<li><b>作品状态：</b><span><c:if
										test="${book.bookStatus ==1}">
										<font style="color: green;">上架</font>
									</c:if> <c:if test="${book.bookStatus ==2}">
										<font style="color: orange;">审核中</font>
									</c:if> <c:if test="${book.bookStatus ==-1}">
										<font style="color: red;">拒绝</font>
									</c:if> <c:if test="${book.bookStatus ==0}">
										<font style="color: silver;">未知</font>
									</c:if></span></li>
							<li><b>作品简介：</b><span>${book.bookDesc}</span></li>
							<li></li>
						</ul>
						<a class="modifysel" id="amend"
							href="<%=path%>/book/edit?bookId=${book.bookId}">修改作品设置</a>
					</div>
				</div>
			</div>
			<!--作品设置-->
		</div>
		<!--右边-->
	</div>
</body>
</html>